﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Smart.Model
{
    [ServiceContract]
    public interface IExercise
    {
        [OperationContract]
        List<ExerciseCategory> GetAllCategories();

        [OperationContract]
        List<Exercise> GetAllExercises();

        [OperationContract]
        Exercise GetExerciseById(int ExId);

        [OperationContract]
        List<Exercise> GetExercisesByCategory(int cat);

        [OperationContract]
        double CalculateBurnedCalories(int ExId, int duration);

        [OperationContract]
        void RecordExercise(int userId, int ExId, int _duration);

    }
}
